AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include('shared.lua')

function ENT:Use(activator, caller)
	if !caller:GetNWBool("Toolkitd") then
		self.BaseClass.Use(self, activator, caller)
	end
end

function ENT:GiveItemEffects(ply)
	ply:SetNWBool("Toolkitd", true)
end

local function UnTool(ply)
	ply:SetNWBool("Toolkitd", false)
end
hook.Add("PlayerDeath", "Tool", UnTool)